package server;

import java.util.HashMap;
import java.util.Map;

/**
 * @author songyi
 * @date 2020/7/1 0001 0:40
 * @description 用于封装server.xml配置
 */
public class Mapper {

    // 端口
    private int port;
    // host
    Map<String, MappedHost> hostMap = new HashMap<>();

    public int getPort() {
        return port;
    }

    public void setPort(int port) {
        this.port = port;
    }

    public Map<String, MappedHost> getHostMap() {
        return hostMap;
    }

    public void setHostMap(Map<String, MappedHost> hostMap) {
        this.hostMap = hostMap;
    }
}
